﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using Interfaces.Enums;

namespace ServiceInfrastructure.Models.SecurityModels
{
    [DataContract]
    public class RegisterRequest
    {
        [DataMember(Order = 1, Name = "Login")]
        public string UserName { get; set; }

        [DataMember(Order = 2)]
        public string Email { get; set; }

        [DataMember(Order = 3)]
        public string Password { get; set; }

        [DataMember(Order = 4)]
        public List<RoleType> Roles { get; set; }

    }
}
